import { gsap } from 'gsap'

import { ScrollTrigger } from 'gsap/ScrollTrigger'
import { ScrollToPlugin } from 'gsap/ScrollToPlugin'
gsap.registerPlugin(ScrollTrigger, ScrollToPlugin)

export default ({ app }, inject) => {
  inject('gsap', gsap)
  inject('scrollTrigger', ScrollTrigger)
}
